﻿
namespace EveKillboard.Core
{
    using Base;
    using System.ComponentModel.DataAnnotations;

    [Table("Locations")]
    public sealed class Location : LocationBase
    {
        [Key]
        [Column("ID")]
        public override int Id { get; set; }
        [Column("Name")]
        [StringLength(200)]
        public override string System { get; set; }
        [Column("RegionID")]
        public override int RegionId { get; set; }
        [Column("RegionName")]
        public override string Region { get; set; }
        [Column("Security", TypeName = "float")]
        public override float Security { get; set; }

        public override string ToString()
        {
            return System;
        }
    }
}